package com.woniu.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ResponseEnum {
    Ok(200,"成功"),
    LOGIN_ERROR(2000,"用户名或密码错误"),
    CODE_ERROR(2003,"验证码错误"),
    NO_LOGIN(2001,"未登录"),
    NO_REGISTER(3002,"用户未注册"),
    REGISTER_ERROR(3003,"当前用户已注册"),
    SYS_BUSY(2002,"系统繁忙"),
    LIVE_ERROR(3001,"活体检测失败"),
    NO_FACE(3004,"人脸库无数据"),
    Fail(500,"失败"),
    NO_STRING(501,"请填写有效内容"),
    INCONSISTENT(502,"密码不一致"),
    NULL_ERROR(2009,"空指针异常"),
    NO_AUTH(2008,"无权限"),
    USER_NOT_FOUND(111,"用户不存在"),
    INVALID_OLD_PASSWORD(222,"旧密码不正确"),
    UPDATE_FAILED(333,"密码更新失败");






    private Integer code;
    private String msg;
}
